XM Cloud articles

« Return to blog

Diagram showing an AI coding agent calling an MCP server, which calls the Sitecore Authoring GraphQL endpoint, which writes to the XM Cloud content tree.

Driving Sitecore XM Cloud Authoring with an MCP Server

Learn how to wire an MCP server to the Sitecore Authoring GraphQL API so an AI coding agent can create items, compose layout XML, and provision sites, without SPE elevation.

Robert Watson
Robert Watson
12 May 2026
One component rendered as two variants across two brand themes

One Component, Every Brand: Themes and Rendering Variants in XM Cloud

Learn how to make a single component wear any brand using CSS-variable themes, Sitecore Styles, and rendering variants, with zero brand-specific component code.

Robert Watson
Robert Watson
17 Mar 2026
Two terminal panes: a 44-byte failed Edge response next to a healthy multi-KB response

Debugging Silent Edge Composition Failures in XM Cloud

Learn how to diagnose the dreaded empty page, when Sitecore Edge returns a stub layout and your head app crashes with "route undefined".

Robert Watson
Robert Watson
27 Jan 2026
Next.js 16 in Content SDK: Use proxy.ts, not middleware.ts

Next.js 16 in Content SDK: Use proxy.ts, not middleware.ts

Learn why Content SDK 2.x on Next.js 16 swaps middleware.ts for proxy.ts, why keeping both hard-fails your build, and where your custom gate logic goes now.

Robert Watson
Robert Watson
11 Dec 2025
Blog article featured image

Local XM Cloud With Content-SDK

Learn how to stand up Sitecore XM Cloud locally with Windows Docker containers: initialize the environment, sync serialized items, configure the Content SDK rendering host, and wire Sitecore Pages for local editing—step-by-step for experienced Sitecore devs new to Docker.

Robert Watson
Robert Watson
06 Nov 2025
Blog article featured image

Part 2: Wildcard Pages with Content SDK: Item Resolver

Learn how to create dynamic wildcard pages in Sitecore XM Cloud using the Content SDK Item Resolver. This guide walks through handling flexible URL structures, resolving route data dynamically, and integrating GraphQL queries for context-driven page rendering.

Robert Watson
Robert Watson
30 Oct 2025
Blog article featured image

Wildcards in Content SDK Part 1: Sitemap

Learn how to extend the Sitecore Content SDK in XM Cloud to publish custom sitemap documents for blogs, products, and other bespoke routes—complete with GraphQL lookups and middleware wiring

Robert Watson
Robert Watson
22 Oct 2025
Blog article featured image

Fetching Component Properties Server-Side in Sitecore XM Cloud

Learn how to use getComponentServerProps in Sitecore XM Cloud to fetch component data server-side with GraphQL. See a real example of a Related Blogs component that queries the top related posts by category before rendering.

Robert Watson
Robert Watson
05 Sep 2025
Blog article featured image

Part 2: Content SDK CLI - Custom Templates

Learn how to create custom scaffolding templates for the Sitecore Content SDK CLI. Generate React components pre-wired with GraphQL queries and simplify component creation in XM Cloud with one CLI command.

Robert Watson
Robert Watson
29 Aug 2025
Blog article featured image

Part 1: Content SDK CLI - Custom Commands

Creating a Custom Command with the Content SDK CLI

Robert Watson
Robert Watson
21 Aug 2025
Blog article featured image

Adding Coveo Headless Search to XM Cloud

Using Context, State Management, and Sitecore Data Sources for Flexible Search Experiences

Robert Watson
Robert Watson
13 Aug 2025
Blog article featured image

Concept: Tag-Based Filtering with Dynamic Item Listings in Sitecore XM Cloud

Empower content authors with dynamic listings powered by SXA tags, React context, and GraphQL

Robert Watson
Robert Watson
27 Jul 2025
Blog article featured image

Concept: Combining Rendering Variants with Placeholder Settings

Use rendering variants and placeholder settings together to create context-aware, modular, and reusable components in Sitecore XM Cloud but not break design.

Robert Watson
Robert Watson
18 Jul 2025
Blog article featured image

Simplifying GraphQL Queries in Sitecore XM Cloud with TypeScript

Automatically convert .graphql files into usable TypeScript constants for clean, scalable query management.

Robert Watson
Robert Watson
10 Jul 2025
Blog article featured image

Powershell Event Handlers in XM Cloud

Overcoming XM Cloud Limits with SPE

Robert Watson
Robert Watson
02 Jul 2025